
<div id="header">
				<div id="market">
					<ul>
                    	<li><img src="<?php echo System?>/img/logo-1.png" style="position:relative; top:5px;"></li>
                        
                    </ul>							
				</div>
		
				 <ul id="edit">
					 <li>
                     <?php
					 if($this->Session->read("tkid") || $this->Session->read("tkuser")){
						 echo $html->link('Đăng xuất', array('controller'=>'login','action'=>'logout'));
					}
						else{   echo $html->link('Đăng nhập', array('controller'=>'login'));}
					?>
                     </li>							 	
				 </ul>
				<span class="clear"></span>
				<div id="nav" >
                 
						
                         
                           
				<ul class="content menu_parent">				
                        <li>
                                <a href="<?php echo System ?>/infors/business">Thông tin kinh doanh</a>
                                <ul class='dropdown edit_down menu_parent'>                                            
                                    <li> <a href="<?php echo System ?>/infors/carts">Giỏ hàng</a></li>                                                   
                                    <li> <a href="<?php echo System ?>/infors/business">Thông tin kinh doanh</a></li>
                                    <li> <a href="<?php echo System ?>/infors">Cấp bậc số PV</a></li>
                                    <li> <a href="<?php echo System ?>/infors/maps">Sơ đồ cấp dưới</a></li>
                                </ul>    
                         </li> 
                         
                        <?php 	  $menuTop = $this->requestAction('/comment/menuTop'); 
						           $subTop = $this->requestAction('/comment/subTop'); ?>
                        	<?php foreach($menuTop as $list){ ?>
							<li><?php echo $html->link($list['Category']['name'], array('controller'=>'products',$list['Category']['id'],$list['Category']['alias'].'.html'));?>
                            	 <ul class='dropdown edit_down menu_parent'> 
                                 	<?php foreach($subTop as $key){
										if($key['Category']['parent_id']==$list['Category']['id']){
										?>
										
                                        <li>
                                        <?php echo $html->link($key['Category']['name'], array('controller'=>'products',$key['Category']['id'],$key['Category']['alias'].'.html'));?>
                                        </li>
										<?php }}?>
                                 </ul>
                            </li>
							
							<?php }?>
							
                        
                        
			              
                           <li>
                                <a href="<?php echo System ?>/infors/profile">Thông tin các nhân</a>
                                <ul class='dropdown edit_down menu_parent'>                                            
                                    <li> <a href="<?php echo System ?>/infors/edit">Cập nhật thông tin cá nhân</a></li>                                                   
                                    <li> <a href="<?php echo System ?>/infors/changepass">Đổi mật khẩu</a></li>
                                </ul>    
                         </li>                	
	 			</ul>
		</div>
		<span class="clear"></span>
</div>